package com.shuan.springboothello.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * User: lu
 * Date: 2021/12/16
 * Time: 21:08
 * Version: 1.0
 * Modified By:
 * Description:  docker  化一个SpringBoot应用
 */
@RestController
public class DockerMessageController {

    @GetMapping("/messages")
    public String getMessage() {
        return "Hello from Docker!";
    }

}
